
import http from 'http';

const server = http.createServer((req, resp) => {
	resp.writeHead(200, {'Content-Type': 'text/plain'});
	resp.end('Hello wxg1111\n');
}).listen(8080, 'localhost');

console.log('Server running at http://localhost:8080/');

export default server;
